from selenium.webdriver.common.by import By

from common.base import Base


class OrderManagementSuccessPage(Base):
    # 订单信息查询完毕之后的元素定位
    def success(self):
        content = self.find_element_text((By.XPATH, '//th[@colspan="4"]'))
        return content



